package com.peng._05mvcboot02.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * 扫描mapper接口配置类
 * @Author peng
 * @Date 2024-04-22 16:23
 */
@Configuration
@MapperScan("com.peng._05mvcboot02.mapper")// 扫描mapper接口,自动将指定包下的mapper接口生成代理对象（添加@Mapper注解）,并注入到Spring容器中
public class MybatisConfig {
}
